package net.shopxx.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.ManyToOne;


/**
 * 实体类 - 首页楼层
 */

@Entity
public class Indexflooradv extends BaseEntity {
	/**
     *
     */
    private static final long serialVersionUID = 5974938075809321737L;
    private String picUrl;
    private String link;
	private Integer orderList;
	private Boolean isEnabled;
	private Indexfloor indexfloor;
	
	@Column(length=10000)
    public String getPicUrl() {
		return picUrl;
	}
	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}
	@Column(length=1024)
	public String getLink() {
		return link;
	}
	public void setLink(String link) {
		this.link = link;
	}
	public Integer getOrderList() {
        return orderList;
    }
    public void setOrderList(Integer orderList) {
        this.orderList = orderList;
    }
    public Boolean getIsEnabled() {
        return isEnabled;
    }
    public void setIsEnabled(Boolean isEnabled) {
        this.isEnabled = isEnabled;
    }
    @ManyToOne(fetch = FetchType.LAZY)
    public Indexfloor getIndexfloor() {
        return indexfloor;
    }
    public void setIndexfloor(Indexfloor indexfloor) {
        this.indexfloor = indexfloor;
    }
	
	
	
}